<include file="header"/>
<include file="loadding"/>
<style>
    .hide {
        display: none;
    }
</style>
<body>
<div class="wraper flex-box item-col">
    <div class="logo"><img src="/assets/base/restaurantprint/images/logo.png"/></div>
    <div class="mainarea text-center">
        <div class="text-box">
            <p>充值金额：</p>
            <div class="price-box text-left clearfix">
                <volist name="moneyList" id="vo">
                    <a href="javascript:void(0);" class="price-list" data-ammount="{BEESCRM:$vo['money']}">{BEESCRM:$vo['money']}元</a>
                </volist>
                <a href="javascript:void(0);" class="price-list" data-ammount="-1">其他金额</a>
                <input type="text" name="free_money" style="width: 49%;" class="input free_money hide" id="free_money"
                       value="" placeholder="请输入金额"
                       onKeyPress="if((event.keyCode<48 || event.keyCode>57) && event.keyCode!=46 || /\.\d\d$/.test(value))event.returnValue=false">
            </div>
        </div>
        <div class="text-box text-left">
            <p class="margin_top">支付码：
                <input type="password" class="input" name="pay_code" id="pay_code_container" value="" placeholder="请扫码微信或支付宝获取支付码"/>
            </p>
        </div>
        <div class="btn-box text-center">
            <input type="hidden" id="sid_container" value="{BEESCRM:$sId}"/>
            <input type="hidden" id="tcode_container" value="{BEESCRM:$terminalCode}"/>
            <input type="hidden" id="requrl_container" value="{BEESCRM::U('/base/restaurantPrint/createOrder')}"/>
        </div>
    </div>
</div>
<include file="commonJs"/>
<script type="text/javascript" src="/assets/base/restaurantprint/js/print.js"></script>
<script src="/assets/keyboard/js/jquery.plugin.min.js"></script>
<script src="/assets/keyboard/js/jquery.keypad.js"></script>
<script>
    $(document).ready(function(){
        $('.circle-loadding').hide();
    });
    $('#free_money').keypad({
        separator: '|', prompt: '',
        keypadOnly: false,
        layout: ['7|8|9|' + $.keypad.CLOSE,
            '4|5|6|' + $.keypad.CLEAR,
            '1|2|3',
            '.|0|00']
    });
</script>
</body>
</html>